﻿namespace FFF.Test.Entity.Demo
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Demo.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 班级表
    /// </summary>
	[Table("Demo_Class_Test")]
    [Display(Name = "班级表", Description = "班级表")]
    [AutoMapFrom(typeof(ViewDemoClassTest))] 
    public partial class DemoClassTestEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("ClassTestGUID")]
        [Display(Name = "班级表主键", Description = "班级表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 班级名称
        /// </summary>
		[Display(Name = "班级名称", Description = "班级名称")]
        [Column("ClassTestName")]
		[StringLength(256)]
        public string ClassTestName { get; set; }   

		/// <summary>
        /// 学院GUID(树)
        /// </summary>
		[Display(Name = "学院GUID(树)", Description = "学院GUID(树)")]
        [Column("SchoolTestGUID")]
        public Guid? SchoolTestGUID { get; set; }   

		/// <summary>
        /// 学院GUIDs(树多选)
        /// </summary>
		[Display(Name = "学院GUIDs(树多选)", Description = "学院GUIDs(树多选)")]
        [Column("SchoolTestGUIDTes")]
		[StringLength(256)]
        public string SchoolTestGUIDTes { get; set; }   
    }
}
